export default {
  //    按钮权限
  methods: {
    showBtn(code) {
      return (
        this.$store.state.user.userInfo.roles &&
        this.$store.state.user.userInfo.roles.points.includes(code)
      )
    }
  }
}
